.class Lcom/waiqin365/lightapp/syorder/aa;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/syorder/view/l;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/syorder/aa;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Ljava/util/List;)V
    .locals 4

    const/4 v2, 0x6

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    const/4 v0, 0x0

    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/c/a;

    const-string/jumbo v1, "true"

    iget-object v0, v0, Lcom/waiqin365/base/c/a;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    sget-object v0, Ljava/util/Locale;->CHINA:Ljava/util/Locale;

    invoke-static {v0}, Ljava/util/Calendar;->getInstance(Ljava/util/Locale;)Ljava/util/Calendar;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v2, v1}, Ljava/util/Calendar;->add(II)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/aa;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;->e(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)Lcom/waiqin365/lightapp/syorder/view/SyDateViewHasClear;

    move-result-object v1

    new-instance v2, Ljava/text/SimpleDateFormat;

    const-string/jumbo v3, "yyyyMMddHHmmss"

    invoke-direct {v2, v3}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v2, "yyyyMMddHHmmss"

    invoke-virtual {v1, v0, v2}, Lcom/waiqin365/lightapp/syorder/view/SyDateViewHasClear;->setValue(Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    sget-object v0, Ljava/util/Locale;->CHINA:Ljava/util/Locale;

    invoke-static {v0}, Ljava/util/Calendar;->getInstance(Ljava/util/Locale;)Ljava/util/Calendar;

    move-result-object v0

    const/4 v1, 0x2

    invoke-virtual {v0, v2, v1}, Ljava/util/Calendar;->add(II)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/syorder/aa;->a:Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;->e(Lcom/waiqin365/lightapp/syorder/SyOrderInfoActivity;)Lcom/waiqin365/lightapp/syorder/view/SyDateViewHasClear;

    move-result-object v1

    new-instance v2, Ljava/text/SimpleDateFormat;

    const-string/jumbo v3, "yyyyMMddHHmmss"

    invoke-direct {v2, v3}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v2, "yyyyMMddHHmmss"

    invoke-virtual {v1, v0, v2}, Lcom/waiqin365/lightapp/syorder/view/SyDateViewHasClear;->setValue(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0
.end method
